added composer.json
match more specific patterns before less specific patterns
added sorting, searching, pagination to rules table

(uses jquery.dataTables)