Rules - New events inside code not shown in interface
The problem is the function name. Since the module name is nodeaccess (and not node_access), function name should be nodeaccess_rules_event_info

However, it is not recommended to add anything to a contributed module (unless you are going to contribute back to the module's issue queue).

If this rule is specific your project, you can add it in your own custom module.