LPS-33018 PACL - Implement the rule generation API
LPS-33018 PACL - extract repeat code to a method - no change