Rules for Regular Expressions