Rules or values are the core things that make up a person. They are the things which a person lives by.
A good value system includes things like honesty, perseverance, gratitude, etc and these things are principles which a person chooses to live by. There are also negative value systems which can include dishonesty, ingratitude, anger, bitterness, etc.
Rules are those things which a person or society lives by and guides their actions. These are all what makes up the principles of a person.