Implemented rule sets based on resolutions. Need to still add all the rules sets
Merged. Fixed a conflict with LayoutNode