Edits View all rules functionality and adds borders to buttons