Add Entity Insert and Save methods
Update error checks
use get_id() in the SQL statement
Update the rule_id data var after SQL insert
Add some CSS so [list] inside of rules look nice
Refactor anchors and template var names in front end controller
Add get_rules function to the controller display function
Refactor to use a single template loop
Remove unneeded right/left_id from insert function

These are not needed now that we use the phpbb/tree/nestedset class
Add some extra commenting
Merge branch 'master' into entity-insert-edit-delete
Merge branch 'master' into front-end
Support for nested rule categories
use S_LAST_ROW
Add category exists check before using S_LAST_ROW
out of bounds exception argument is not an array
Add toString method to ensure we're not dumping an array to the user
Merge branch 'master' into front-end
Merge branch 'master' into entity-insert-edit-delete
Hide Category/Sections menu if there are no categories (e.g.: rules list only)