Commercial Loan Pricing Model

Employee at a bank ($233MUSA)

We are considering implementing a commercial loan pricing model. Assumptions are based on loan/relationship size, internal/external cost of funds and non interest expense history. What kind of fair lending or other compliance issues can be associated with interest rate discounts and deviations from the recommended rate?