Merge pull request #11 from jonastinkle/rules_system

Changed the way rules are being created
fixed expand_segment rule
Merge pull request #12 from jonastinkle/expand_segment_fix

fixed expand_segment rule
Added rules selector
merged with updated master
Working rules selector
Removed unused files; Rules can be selected from UI
Precompiled assets
Removed precompiled assets
Changed colors of unselected rules
Changed colors for rules buttons; changed colors for error action buttons